<template>
  <el-container>
    <el-header>
      <span style="font-weight:bold; color:green;">订单列表</span>
    </el-header>
    <el-table :data="productlist" style="width: 100%; margin-left:20px;" border>
      <el-table-column prop="code" label="编码" width="300"></el-table-column>
      <el-table-column prop="name" label="姓名" width="300"></el-table-column>
      <el-table-column prop="price" label="价格"></el-table-column>
    </el-table>
  </el-container>
</template>

<script>
export default {
  data() {
    return {
      productlist: [
        {
          code: "SKU45456718",
          name: "大宝SOD蜜",
          price: "10"
        },
        {
          code: "SKU45456547",
          name: "六神止痒花露水",
          price: "25"
        },
        {
          code: "SKU45456963",
          name: "贵州茅台",
          price: "1888"
        },
        {
          code: "SKU45456374",
          name: "东北大米",
          price: "88"
        },
        {
          code: "SKU45456247",
          name: "粉红豹",
          price: "199"
        },
        {
          code: "SKU45456146",
          name: "iPad",
          price: "2888"
        }
      ]
    };
  }
};
</script>